.side-panel {
  width: 300px;
  background-color: #242424;
  border-left: 1px solid #333;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.panel-tabs {
  display: flex;
  border-bottom: 1px solid #333;
}

.panel-tab {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 14px;
}

.panel-tab.active {
  color: #409EFF;
  border-bottom: 2px solid #409EFF;
}

.panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

/* 移动端侧边栏样式 */
.side-panel.mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  z-index: 101;
  transform: translateX(100%);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.side-panel.mobile.show {
  transform: translateX(0);
}

.side-panel.mobile .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #333;
}

.side-panel.mobile .panel-title {
  font-size: 16px;
  font-weight: 500;
}

.side-panel.mobile .close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

/* 媒体查询 - 移动端 */
@media (max-width: 768px) {
  .side-panel:not(.mobile) {
    display: none;
  }
}

/* 媒体查询 - 小屏幕手机 */
@media (max-width: 480px) {
  .side-panel.mobile {
    width: 90%;
  }
  
  .panel-tab {
    padding: 12px 0;
    font-size: 13px;
  }
  
  .panel-content {
    padding: 12px;
  }
}